<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>message接口测试报告</title>
    <meta name="generator" content="HTMLTestRunner 0.8.2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    
<style type="text/css" media="screen">
body        { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
table       { font-size: 100%; }
pre         { }

/* -- heading ---------------------------------------------------------------------- */
h1 {
	font-size: 16pt;
	color: gray;
}
.heading {
    margin-top: 0ex;
    margin-bottom: 1ex;
}

.heading .attribute {
    margin-top: 1ex;
    margin-bottom: 0;
}

.heading .description {
    margin-top: 4ex;
    margin-bottom: 6ex;
}

/* -- css div popup ------------------------------------------------------------------------ */
a.popup_link {
}

a.popup_link:hover {
    color: red;
}

.popup_window {
    display: none;
    position: relative;
    left: 0px;
    top: 0px;
    /*border: solid #627173 1px; */
    padding: 10px;
    background-color: #E6E6D6;
    font-family: "Lucida Console", "Courier New", Courier, monospace;
    text-align: left;
    font-size: 8pt;
    width: 500px;
}

}
/* -- report ------------------------------------------------------------------------ */
#show_detail_line {
    margin-top: 3ex;
    margin-bottom: 1ex;
}
#result_table {
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #777;
}
#header_row {
    font-weight: bold;
    color: white;
    background-color: #777;
}
#result_table td {
    border: 1px solid #777;
    padding: 2px;
}
#total_row  { font-weight: bold; }
.passClass  { background-color: #6c6; }
.failClass  { background-color: #c60; }
.errorClass { background-color: #c00; }
.passCase   { color: #6c6; }
.failCase   { color: #c60; font-weight: bold; }
.errorCase  { color: #c00; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }


/* -- ending ---------------------------------------------------------------------- */
#ending {
}

</style>

</head>
<body>
<script language="javascript" type="text/javascript"><!--
output_list = Array();

/* level - 0:Summary; 1:Failed; 2:All */
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level < 1) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level > 1) {
                tr.className = '';
            }
            else {
                tr.className = 'hiddenRow';
            }
        }
    }
}


function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        tid0 = 't' + cid.substr(1) + '.' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        if (toHide) {
            document.getElementById('div_'+tid).style.display = 'none'
            document.getElementById(tid).className = 'hiddenRow';
        }
        else {
            document.getElementById(tid).className = '';
        }
    }
}


function showTestDetail(div_id){
    var details_div = document.getElementById(div_id)
    var displayState = details_div.style.display
    // alert(displayState)
    if (displayState != 'block' ) {
        displayState = 'block'
        details_div.style.display = 'block'
    }
    else {
        details_div.style.display = 'none'
    }
}


function html_escape(s) {
    s = s.replace(/&/g,'&amp;');
    s = s.replace(/</g,'&lt;');
    s = s.replace(/>/g,'&gt;');
    return s;
}

/* obsoleted by detail in <div>
function showOutput(id, name) {
    var w = window.open("", //url
                    name,
                    "resizable,scrollbars,status,width=800,height=450");
    d = w.document;
    d.write("<pre>");
    d.write(html_escape(output_list[id]));
    d.write("\n");
    d.write("<a href='javascript:window.close()'>close</a>\n");
    d.write("</pre>\n");
    d.close();
}
*/
--></script>

<div class='heading'>
<h1>message接口测试报告</h1>
<p class='attribute'><strong>Start Time:</strong> 2019-08-01 17:58:54</p>
<p class='attribute'><strong>Duration:</strong> 0:01:45.153785</p>
<p class='attribute'><strong>Status:</strong> Pass 4</p>

<p class='description'>接口功能测试</p>
</div>



<p id='show_detail_line'>Show
<a href='javascript:showCase(0)'>Summary</a>
<a href='javascript:showCase(1)'>Failed</a>
<a href='javascript:showCase(2)'>All</a>
</p>
<table id='result_table'>
<colgroup>
<col align='left' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
</colgroup>
<tr id='header_row'>
    <td>Test Group/Test case</td>
    <td>Count</td>
    <td>Pass</td>
    <td>Fail</td>
    <td>Error</td>
    <td>View</td>
</tr>

<tr class='passClass'>
    <td>test_message.TestMessage</td>
    <td>4</td>
    <td>4</td>
    <td>0</td>
    <td>0</td>
    <td><a href="javascript:showClassDetail('c1',4)">Detail</a></td>
</tr>

<tr id='pt1.1' class='hiddenRow'>
    <td class='none'><div class='testcase'>test_sendBatchNoticeMsg</div></td>
    <td colspan='5' align='center'>

    <!--css div popup start-->
    <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1')" >
        pass</a>

    <div id='div_pt1.1' class="popup_window">
        <div style='text-align: right; color:red;cursor:pointer'>
        <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1').style.display = 'none' " >
           [x]</a>
        </div>
        <pre>
        
pt1.1: 批量发送通知短信
{'signature': 1001, 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 17:58:54', 'spendTime': '10'}


短信签名必传
{'signature': '', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': '短信签名不能为空;', 'requestSeqNo': 'wt_null_1564467527956', 'responseTime': '2019-08-01 17:58:55', 'spendTime': '6'}


短信签名格式验证（str）
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 17:58:57', 'spendTime': '7'}


短信签名错误
{'signature': '001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 17:58:58', 'spendTime': '6'}


场景编码必传
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': '', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': '场景不能为空;', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 17:58:59', 'spendTime': '6'}


场景编码格式验证（str）
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467525237', 'responseTime': '2019-08-01 17:59:01', 'spendTime': '8'}


场景编码错误
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 'test', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': '场景不存在', 'requestSeqNo': 'wt_null_1564467527103', 'responseTime': '2019-08-01 17:59:02', 'spendTime': '6'}


模板id必传
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': '', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': '短信模板不能为空;', 'requestSeqNo': 'wt_null_1564467524995', 'responseTime': '2019-08-01 17:59:04', 'spendTime': '8'}


模板id格式验证（str）
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': '2001', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467527956', 'responseTime': '2019-08-01 17:59:05', 'spendTime': '6'}


模板id不存在(数字)
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': '25345001', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 17:59:06', 'spendTime': '7'}


模板id不存在(非数字)
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 'ajksnk完', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': 'Failed to convert property value of type \'java.lang.String\' to required type \'java.lang.Integer\' for property \'template\'; nested exception is java.lang.NumberFormatException: For input string: "ajksnk完";', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 17:59:07', 'spendTime': '7'}


模板id已删除
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': '2003', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 17:59:08', 'spendTime': '7'}


模板id长度超过数据库最大长度
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 'hufajfnfn女散打是非法个个第三方啊大非师范散打是分手分手非第三个的的个十多个是是 非是非算法算法阿飞阿萨法非阿萨法阿飞阿飞啊', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': 'Failed to convert property value of type \'java.lang.String\' to required type \'java.lang.Integer\' for property \'template\'; nested exception is java.lang.NumberFormatException: For input string: "hufajfnfn女散打是非法个个第三方啊大非师范散打是分手分手非第三个的的个十多个是是非是非算法算法阿飞阿萨法非阿萨法阿飞阿飞啊";', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 17:59:10', 'spendTime': '13'}


短信内容：电话必填（all）
{'signature': 1001, 'content': [{'phone': '', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467527956', 'responseTime': '2019-08-01 17:59:11', 'spendTime': '7'}


短信内容：电话必填（部分）
{'signature': 1001, 'content': [{'phone': '', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 17:59:12', 'spendTime': '9'}


电话数字类型验证（空格）
{'signature': 1001, 'content': [{'phone': '136  4807  1942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "136  4807  1942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 17:59:13', 'spendTime': '8'}


电话数字类型验证（字母）
{'signature': 1001, 'content': [{'phone': '136很长时间从a1942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "136\\u5f88\\u957f\\u65f6\\u95f4\\u4ecea1942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 17:59:14', 'spendTime': '10'}


电话数字类型验证（符号）
{'signature': 1001, 'content': [{'phone': '136-4807-1942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "136-4807-1942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467524995', 'responseTime': '2019-08-01 17:59:16', 'spendTime': '6'}


电话位数验证（小于11位）
{'signature': 1001, 'content': [{'phone': '136942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "136942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 17:59:17', 'spendTime': '6'}


电话位数验证（大于11位）
{'signature': 1001, 'content': [{'phone': '1364352343442942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "1364352343442942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 17:59:18', 'spendTime': '6'}


短信内容：模板内容和参数不对应
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'Name': '谢生云'}}, {'phone': '13388179787', 'parameter': {'appel': '先生'}}], 'template': '2001', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"Name": "\\u8c22\\u751f\\u4e91"}}, {"phone": "13388179787", "parameter": {"appel": "\\u5148\\u751f"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 17:59:19', 'spendTime': '8'}


短信内容：模板缺少参数
{'signature': '1001', 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '谢生云'}}, {'phone': '13388179787', 'parameter': {'appellation': '先生'}}], 'template': '2001', 'sceneCode': '1004', 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91"}}, {"phone": "13388179787", "parameter": {"appellation": "\\u5148\\u751f"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 17:59:20', 'spendTime': '6'}


短信内容：短信参数必填（全部为空）
{'signature': 1001, 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '', 'appellation': '', 'roomNumber': '', 'billPeriod': '', 'billAmount': '', 'statementTime': ''}}, {'phone': '13388179787', 'parameter': {'tenantName': '', 'appellation': '', 'roomNumber': '', 'billPeriod': '', 'billAmount': '', 'statementTime': ''}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "", "appellation": "", "roomNumber": "", "billPeriod": "", "billAmount": "", "statementTime": ""}}, {"phone": "13388179787", "parameter": {"tenantName": "", "appellation": "", "roomNumber": "", "billPeriod": "", "billAmount": "", "statementTime": ""}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467525237', 'responseTime': '2019-08-01 17:59:22', 'spendTime': '6'}


短信内容：短信参数必填（部分为空）
{'signature': 1001, 'content': [{'phone': '15208136268', 'parameter': {'tenantName': '', 'appellation': '', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '', 'appellation': '', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "15208136268", "parameter": {"tenantName": "", "appellation": "", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "", "appellation": "", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '500', 'data': '', 'msg': 'content参数格式不正确', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 17:59:23', 'spendTime': '9'}


参数必传（signature）
{'content': [{'phone': '13648071942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'sceneCode': 1004, 'parameter': '[{"phone": "13648071942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': '短信签名不能为空;', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 17:59:24', 'spendTime': '7'}


参数必传（content）
{'signature': 1001, 'template': 2001, 'sceneCode': 1004}
{'code': '601', 'msg': '信息主体不能为空;', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 17:59:25', 'spendTime': '8'}


参数必传（sceneCode）
{'signature': 1001, 'content': [{'phone': '13648071942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'sceneCode': 1004, 'parameter': '[{"phone": "13648071942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': '短信模板不能为空;', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 17:59:26', 'spendTime': '7'}


参数必传（template）
{'signature': 1001, 'content': [{'phone': '13648071942', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}, {'phone': '13388179787', 'parameter': {'tenantName': '谢生云', 'appellation': '先生', 'roomNumber': '1305', 'billPeriod': '2020-02-15 ~ 2020-03-14', 'billAmount': '0.01', 'statementTime': '2019-07-29 16:05:57'}}], 'template': 2001, 'parameter': '[{"phone": "13648071942", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}, {"phone": "13388179787", "parameter": {"tenantName": "\\u8c22\\u751f\\u4e91", "appellation": "\\u5148\\u751f", "roomNumber": "1305", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}}]'}
{'code': '601', 'msg': '场景不能为空;', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 17:59:28', 'spendTime': '7'}




        </pre>
    </div>
    <!--css div popup end-->

    </td>
</tr>

<tr id='pt1.2' class='hiddenRow'>
    <td class='none'><div class='testcase'>test_sendCodeMsg</div></td>
    <td colspan='5' align='center'>pass</td>
</tr>

<tr id='pt1.3' class='hiddenRow'>
    <td class='none'><div class='testcase'>test_sendMarketMsg</div></td>
    <td colspan='5' align='center'>

    <!--css div popup start-->
    <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3')" >
        pass</a>

    <div id='div_pt1.3' class="popup_window">
        <div style='text-align: right; color:red;cursor:pointer'>
        <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3').style.display = 'none' " >
           [x]</a>
        </div>
        <pre>
        
pt1.3: 发送营销短信（单个手机号）
{'phone': 13648071942, 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 17:59:48', 'spendTime': '112'}


发送营销短信（不同的2个手机号）
{'phone': '15208136268,13648071942', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 17:59:49', 'spendTime': '20'}


发送营销短信（不同的2个手机号，一对一错）
{'phone': '15208你的6268,13648071942', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'data': '', 'msg': '手机号格式不正确', 'requestSeqNo': 'wt_null_1564467525237', 'responseTime': '2019-08-01 17:59:50', 'spendTime': '7'}


发送营销短信（相同的2个手机号）
{'phone': '13648071942,13648071942', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467524995', 'responseTime': '2019-08-01 17:59:51', 'spendTime': '21'}


发送营销短信（相同的多个手机号）
{'phone': '13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942,13648071942', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467527103', 'responseTime': '2019-08-01 17:59:53', 'spendTime': '26'}


电话必填
{'phone': '', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'msg': '用户手机号不能为空;', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 17:59:54', 'spendTime': '8'}


电话数字类型验证（空格）
{'phone': '136 4807 1942', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'data': '', 'msg': '手机号格式不正确', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 17:59:55', 'spendTime': '7'}


电话数字类型验证（字母）
{'phone': '136abc1234', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'data': '', 'msg': '手机号格式不正确', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 17:59:56', 'spendTime': '7'}


电话数字类型验证（符号）
{'phone': '136，4807，74', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'data': '', 'msg': '手机号格式不正确', 'requestSeqNo': 'wt_null_1564467525237', 'responseTime': '2019-08-01 17:59:57', 'spendTime': '6'}


电话位数验证（小于11位）
{'phone': '1362574', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'data': '', 'msg': '手机号格式不正确', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 17:59:59', 'spendTime': '8'}


电话位数验证（大于11位）
{'phone': '136480719424', 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'data': '', 'msg': '手机号格式不正确', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 18:00:00', 'spendTime': '8'}


短信签名必传
{'phone': 13648071942, 'signature': '', 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '601', 'msg': '短信签名不能为空;', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 18:00:01', 'spendTime': '30'}


短信签名格式验证（str）
{'phone': 13648071942, 'signature': '1001', 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467527956', 'responseTime': '2019-08-01 18:00:02', 'spendTime': '129'}


场景编码必传
{'phone': 13648071942, 'signature': 1001, 'sceneCode': '', 'content': '测试发送营销短信接口'}
{'code': '601', 'msg': '场景不能为空;', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 18:00:03', 'spendTime': '55'}


场景编码格式验证（int）
{'phone': 13648071942, 'signature': 1001, 'sceneCode': 1004, 'content': '测试发送营销短信接口'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 18:00:05', 'spendTime': '70'}


短信内容不能为空
{'phone': 13648071942, 'signature': 1001, 'sceneCode': 1004, 'content': ''}
{'code': '601', 'msg': '短信内容不能为空;', 'requestSeqNo': 'wt_null_1564467525237', 'responseTime': '2019-08-01 18:00:06', 'spendTime': '36'}


短信内容格式（特殊符号）
{'phone': 13648071942, 'signature': 1001, 'sceneCode': 1004, 'content': 'body {background-color:#b0c4de;}'}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467524995', 'responseTime': '2019-08-01 18:00:07', 'spendTime': '27'}


短信内容字数（=数据库最长字数）
{'phone': 13648071942, 'signature': 1001, 'sceneCode': 1004, 'content': '出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的'}
{'code': '601', 'msg': '短信内容超出最长限制;', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 18:00:08', 'spendTime': '14'}


短信内容字数（大于数据库最长字数）
{'phone': '136 4807 1942', 'signature': 1001, 'sceneCode': 1004, 'content': '内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内存泄露的概念内存泄露和内存溢出的区别内存溢出是指程序在申请内存时内'}
{'code': '601', 'msg': '短信内容超出最长限制;', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 18:00:09', 'spendTime': '18'}




        </pre>
    </div>
    <!--css div popup end-->

    </td>
</tr>

<tr id='pt1.4' class='hiddenRow'>
    <td class='none'><div class='testcase'>test_sendNoticeMsg</div></td>
    <td colspan='5' align='center'>

    <!--css div popup start-->
    <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4')" >
        pass</a>

    <div id='div_pt1.4' class="popup_window">
        <div style='text-align: right; color:red;cursor:pointer'>
        <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4').style.display = 'none' " >
           [x]</a>
        </div>
        <pre>
        
pt1.4: 发送通知短信
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 18:00:11', 'spendTime': '126'}


电话必填
{'phone': '', 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '601', 'msg': '手机号不能为空;手机号格式不正确;', 'requestSeqNo': 'wt_null_1564467524995', 'responseTime': '2019-08-01 18:00:12', 'spendTime': '7'}


电话数字类型验证（空格）
{'phone': '136 4807 1942', 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2002}
{'code': '601', 'msg': '手机号格式不正确;', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 18:00:13', 'spendTime': '8'}


电话数字类型验证（字母）
{'phone': '1364807ab42', 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2003}
{'code': '601', 'msg': '手机号格式不正确;', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 18:00:14', 'spendTime': '8'}


电话数字类型验证（符号）
{'phone': '136,!-71942', 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2004}
{'code': '601', 'msg': '手机号格式不正确;', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 18:00:15', 'spendTime': '7'}


电话位数验证（小于11位）
{'phone': '13671942', 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2005}
{'code': '601', 'msg': '手机号格式不正确;', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 18:00:16', 'spendTime': '14'}


电话位数验证（大于11位）
{'phone': '1366789871942', 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2006}
{'code': '601', 'msg': '手机号格式不正确;', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 18:00:17', 'spendTime': '7'}


短信签名必传
{'phone': '13648071942', 'signature': '', 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '601', 'msg': '短信签名不能为空;', 'requestSeqNo': 'wt_null_1564467525237', 'responseTime': '2019-08-01 18:00:19', 'spendTime': '41'}


短信签名格式验证（str）
{'phone': 13648071942, 'signature': '1001', 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 18:00:20', 'spendTime': '73'}


场景编码必传
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': '', 'template': 2001}
{'code': '601', 'msg': '场景不能为空;', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 18:00:21', 'spendTime': '13'}


模板id必传
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': ''}
{'code': '601', 'msg': '短信模板不能为空;', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 18:00:22', 'spendTime': '10'}


模板id不存在(数字)
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1005, 'template': '666'}
{'code': '500', 'data': '', 'msg': '场景没有接口权限', 'requestSeqNo': 'wt_null_1564467527103', 'responseTime': '2019-08-01 18:00:23', 'spendTime': '7'}


模板id不存在(非数字)
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1005, 'template': 'bakjscjczd89d 从南大街'}
{'code': '601', 'msg': 'Failed to convert property value of type \'java.lang.String\' to required type \'java.lang.Integer\' for property \'template\'; nested exception is java.lang.NumberFormatException: For input string: "bakjscjczd89d从南大街";', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 18:00:24', 'spendTime': '6'}


模板id已删除
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"\\u6d4b\\u8bd5\\u6a21\\u677f": "\\u6d4b\\u8bd5"}', 'sceneCode': 1004, 'template': 2003}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467524995', 'responseTime': '2019-08-01 18:00:26', 'spendTime': '67'}


模板id长度超过数据库最大长度
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1007, 'template': '亲爱的乐友${tenantName}${appellation}，您居住的房间${roomNumber}有账单${billPeriod} ,共${billAmount}元 需在${statementTime}前支付，为了避免账单逾期产生滞纳金给您带来的不便，请及时支付账单，祝您生活愉快。'}
{'code': '601', 'msg': 'Failed to convert property value of type \'java.lang.String\' to required type \'java.lang.Integer\' for property \'template\'; nested exception is java.lang.NumberFormatException: For input string: "亲爱的乐友${tenantName}${appellation}，您居住的房间${roomNumber}有账单${billPeriod},共${billAmount}元需在${statementTime}前支付，为了避免账单逾期产生滞纳金给您带来的不便，请及时支付账单，祝您生活愉快。";', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 18:00:27', 'spendTime': '8'}


模板内容和参数不对应
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"test": "\\u6d4b\\u8bd5"}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 18:00:28', 'spendTime': '70'}


模板缺少参数
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 18:00:29', 'spendTime': '68'}


短信参数必填（全部为空）
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"enantName": "", "appellation": "", "roomNumber": "", "billPeriod": "", "billAmount": "", "statementTime": ""}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467527956', 'responseTime': '2019-08-01 18:00:30', 'spendTime': '123'}


短信参数必填（部分为空）
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "", "roomNumber": "", "billPeriod": "", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467525217', 'responseTime': '2019-08-01 18:00:31', 'spendTime': '73'}


短信参数长度超过数据库最大长度
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5\\u4f1a\\u554a\\u54c8\\u54c8\\u8985\\u80e1\\u8985uahsduhgsduhsdhksdhfsdkf\\u963f\\u838e\\u6492\\u662f\\u554a\\u662f\\u6309\\u6309\\u6492\\u554a\\u963f\\u838e\\u963f\\u8428\\u6492\\u6492\\u6492\\u6492\\u6492\\u6492\\u6492\\u662f\\u963f\\u8428\\u554a\\u6492\\u662f\\u963f\\u8428\\u554a\\u662f", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '200', 'data': '', 'msg': '成功', 'requestSeqNo': 'wt_null_1564467528577', 'responseTime': '2019-08-01 18:00:33', 'spendTime': '68'}


参数必传（phone）
{'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '601', 'msg': '手机号不能为空;', 'requestSeqNo': 'wt_null_1564467528611', 'responseTime': '2019-08-01 18:00:34', 'spendTime': '9'}


参数必传（signature）
{'phone': 13648071942, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004, 'template': 2001}
{'code': '601', 'msg': '短信签名不能为空;', 'requestSeqNo': 'wt_null_1564467528972', 'responseTime': '2019-08-01 18:00:35', 'spendTime': '6'}


参数必传（parameter）
{'phone': 13648071942, 'signature': 1001, 'sceneCode': 1004, 'template': 2001}
{'code': '601', 'msg': '模板参数不能为空;', 'requestSeqNo': 'wt_null_1564467528136', 'responseTime': '2019-08-01 18:00:36', 'spendTime': '7'}


参数必传（sceneCode）
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'template': 2001}
{'code': '601', 'msg': '场景不能为空;', 'requestSeqNo': 'wt_null_1564467547454', 'responseTime': '2019-08-01 18:00:37', 'spendTime': '6'}


参数必传（template）
{'phone': 13648071942, 'signature': 1001, 'parameter': '{"tenantName": "\\u6d4b\\u8bd5", "appellation": "\\u4fa0", "roomNumber": "001", "billPeriod": "2020-02-15 ~ 2020-03-14", "billAmount": "0.01", "statementTime": "2019-07-29 16:05:57"}', 'sceneCode': 1004}
{'code': '601', 'msg': '短信模板不能为空;', 'requestSeqNo': 'wt_null_1564467527103', 'responseTime': '2019-08-01 18:00:38', 'spendTime': '9'}




        </pre>
    </div>
    <!--css div popup end-->

    </td>
</tr>

<tr id='total_row'>
    <td>Total</td>
    <td>4</td>
    <td>4</td>
    <td>0</td>
    <td>0</td>
    <td>&nbsp;</td>
</tr>
</table>

<div id='ending'>&nbsp;</div>

</body>
</html>
